﻿using System.Runtime.Serialization;
using System;

namespace NMA.Domain.Model.DTO
{
    [DataContract]
    public class NewsDTO : BaseDTO
    {
        [DataMember]
        public string Title { get; set; }

        [DataMember]
        public string ShortDescription { get; set; }

        [DataMember]
        public string Content { get; set; }

        [DataMember]
        public bool IsPublish { get; set; }

        [DataMember]
        public DateTime PublishedDate { get; set; }

        [DataMember]
        public string PublishedPerson { get; set; }

        [DataMember]
        public int NumberOfView { get; set; }

        [DataMember]
        public byte[] Image { get; set; }

        [DataMember]
        public string CreatedUser { get; set; }

        [DataMember]
        public string UpdatedUser { get; set; }
    }
}
